memory: fix compat handling of XENMEM_access_op
authorJan Beulich <jbeulich@suse.com>
Fri, 2 Sep 2016 12:19:51 +0000 (14:19 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 2 Sep 2016 12:19:51 +0000 (14:19 +0200)
commit8d6af808a7e9d9ae1d129e1e5a0def7f8b2333ee
treef0670401594b7aa3027c196c48e7865c62ecf9cb
parentbea64b3ed25864b90a41e1ca6eeb5a58895bb751
memory: fix compat handling of XENMEM_access_op

Within compat_memory_op() this needs to be placed in the first switch()
statement, or it ends up being dead code (as that first switch() has a
default case chaining to compat_arch_memory_op()).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/compat/memory.c